package com.migrator.utils;

import javax.swing.ImageIcon;

public class ResourceLoader {
	
	private String base ;
	
	public ResourceLoader(String base){
		this.base = base ;
	}
	
	
	public ImageIcon getIcon(String icon){
		Class classe = getClass() ;
		return new ImageIcon(classe.getResource(this.base+icon)) ;
	}

}
